package com.zh.Service;

import com.zh.bean.Userinfo;
import org.springframework.stereotype.Component;

@Component("loginSevice")
public class LoginService {
    public boolean doLogin(Userinfo userinfo) {
        System.out.println("登录成功：" + userinfo.getUserName());
        return true;
    }
}
